//
//  Login_TextFieldTableViewCell.m
//  HappyRent
//
//  Created by CoderYee on 2017/3/31.
//  Copyright © 2017年 内圈科技. All rights reserved.
//

#import "Login_TextFieldTableViewCell.h"

@implementation Login_TextFieldTableViewCell

-(void)addOwnView{
    
    [super addOwnView];
    _textField=[[UITextField alloc] init];
    _textField.placeholder=@"请输入验证码";
    _textField.font=systemfont(14);
    [self.contentView addSubview:_textField];
    [_textField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.contentView);
        make.left.equalTo(self.contentView).with.offset(15);
        make.right.equalTo(self.contentView).with.offset(-10);
    }];
}
-(void)configTableCellindexPath:(NSIndexPath *)indexPath{
    
    if (indexPath.row==0) {
        
        self.textField.placeholder=@"请输入真实姓名";
        
    }else if (indexPath.row==1){
        
        self.textField.placeholder=@"请输入身份证号";
        
    }
    
}
@end
